<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Insert title here</title>
        <script type="text/javascript">
        	//window.status=" is ok ";
	        //var isis=confirm("this is ok?");
			//if(isis){
			//	document.write("yes");
			//}else{
			//	document.write("no");
			//}
			//var username=prompt("please input your name:","enter your name");
			//document.write("<br>your name:"+username);
			//window.open("http://www.baidu.com","baidududud");
			//window.open("http://www.baidu.com","baidududud","height=200,width=300");
			//window.open("http://www.baidu.com","baidududud","height=200,width=300,left=200,screenX=200,top=200,screenY=100,toolbar=yes,scrollbars=yes,resizable=yes");
			//window.open("http://www.baidu.com","baidududud","fullscreen=yes");
			//var baidu=window.open("doc.html","baidududud");
			
			//var newwind=window.open("","newwind");
			//newwind.document.open();
			//newwind.document.write("this is a new window !");
			//newwind.document.close();
			
			//var newwind=window.open("doc.html","baidududud");
			
        </script>
    </head>
    <body>
    	<!--
    	<a href="#" onclick="baidu.close();">close window</a>
		-->
		<a href="#" onclick="newwind.close();">close window</a>
		<br>
		<a href="#" onclick="alert(newwind.document.myform.mytext.value);">get-open-window-formfield-value</a>
		<br>
		<a href="#" onclick="self.close();">close current window</a>
		<br>
		<a href="#" onclick="window.open('doc.html','baidududud','width=300,height=300,dependent');">open dependent window</a>
		<br>
		<a href="#" onclick="window.sizeToContent();">window size to content</a>
		<br>
		<p>
			put content to here!
		</p>
    </body>
</html>
